﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.Resources;
using System.Dynamic;

namespace LastoRevival.Service.Contracts.Models
{
	public class CreateForumModel
	{

		[Required(ErrorMessageResourceType = typeof(ValidationMessageLoader), ErrorMessageResourceName = "Forum_TitleRequiredError")]
		[StringLength(30, ErrorMessageResourceType = typeof(ValidationMessageLoader), ErrorMessageResourceName = "StringLengthError")]
		public string Title { get; set; }

		public string Description { get; set; }

		[Required(ErrorMessageResourceType = typeof(ValidationMessageLoader), ErrorMessageResourceName = "Forum_IndexRequiredError")]
		public int IndexOrder { get; set; }

	}
}
